const module = {
  namespaced: true,
  state: {
    cityId: '110100',
    cityName: '北京'
  },
  mutations: {
    /* 设置城市ID */
    setCityId (state, cityId) {
      state.cityId = cityId
    },
    /* 设置城市名称 */
    setCityName (state, cityName) {
      state.cityName = cityName
    }
  }
}

export default module
